import Home from '@/auth/pages/Home'
export default {
  path: '/standard',
  name: 'standard',
  meta: {
    icon: 'logo-chrome',
    title: '标准库'
  },
  component: Home,
  children: [
    {
      path: '/standard-wbs',
      name: 'standard-wbs',
      meta: {
        title: '标准库WBS',
        icon: 'logo-chrome',
        keepAlive:true
      },
      component: () => import('@/views/standard/Library.vue')
    },
    {//新增/编辑
      path: 'standard-wbs/:type/:id/:name',
      name: 'add-editor',
      meta: {
        title: route => `${route.params.name}`,
        notAlive: true
      },
      component: () => import('@/views/standard/AddEditor.vue')
    },
    {//导入
      path: 'standard-import/:type/:id/:name',
      name: 'standard-import',
      meta: {
        title: route => `${route.params.name}`,
      },
      component: () => import('@/views/standard/standardImport.vue')
    },
  ]
}
